package com.generictimebox;

import android.os.CountDownTimer;

public class TimeBox {
	
	private String stepName;
	private int durationMillis = 0;

	public TimeBox(){
		
	}
	
	public TimeBox(String newStepName,int newDurationSecond){
		
		this.stepName = newStepName;
		this.durationMillis = newDurationSecond * 1000;
				
	}
	
	public String getStepName(){
		
		return this.stepName;
	}
	
	public int getDuration(){
		
		return this.durationMillis;
	}
	
	public String getDurationLabel(){
		
		return this.durationMillis + "s";
	}
}
